iOS Programming: The Big Nerd Ranch Guide, Third Edition (3rd Edition) (Big Nerd Ranch Guides) by Joe Conway & Aaron Hillegass

iOS Programming: The Big Nerd Ranch Guide, Third Edition (3rd Edition) (Big Nerd Ranch Guides) by Joe Conway & Aaron Hillegass

Author:Joe Conway & Aaron Hillegass [Conway, Joe]
Language: eng
Format: mobi
Tags: COM051370, Big Nerd Ranch Guides, iPhone / iPad Programming
ISBN: 9780321821522
Publisher: Pearson Education
Published: 2012-03-15T16:00:00+00:00


if (oldKey) {

[[BNRImageStore sharedStore] deleteImageForKey:oldKey];

}

UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];

[item setThumbnailDataFromImage:image];

Now that BNRItems have a thumbnail, you can use this thumbnail in ItemsViewController’s table view. In ItemsViewController.m, update tableView:cellForRowAtIndexPath:.

[[cell valueLabel] setText:

[NSString stringWithFormat:@"$%d", [p valueInDollars]]];

[[cell thumbnailView] setImage:[p thumbnail]];

return cell;

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.